<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
//   解构赋值--------------------------------
// 数组
        // console.log(document.cookie='names=123')
        // let arr=[100,200,300,400,500]
        // let [a,,,,b]=arr
        // console.log(a,b)
 // 对象
        // let arr={name:'可爱',age:'18',sex:'女',paw:123}
        // let {name,paw}=arr
        // console.log(name,paw)
    </script>
</body>
</html>